package com.zz;
import com.zz.util.ArrUtil;

public class TestMain {
    public static void main(String[] args) {
        int[] arr = {2,3,4,5,8,9,12,16,22,45,99};
        int index = ArrUtil.binarySearch(arr, 2222);
        System.out.println("index = " + index);
    }
}
